home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nikkei Mac 11
/
NIKKEI-MAC-CD-VOL-11-1998-03.ISO.7z
/
NIKKEI-MAC-CD-VOL-11-1998-03.ISO
/
オンラインソフト
/
2.日経MAC超定番
/
UltraFind 2.5.3 Full Pack.sit
/
UltraFind 2.5.3 Full Package
/
AppleScript™ Examples
/
UF Get Version
< prev
next >
Wrap
Text File
|
1997-06-22
|
1KB
|
33 lines
tell application "UltraFind 2.5.3"
clear
set the text of fileName of its searchRoutine to "SimpleText"
set the fileType of its searchRoutine to "APPL"
scan
end tell
copy the result to numFiles
if numFiles is greater than 0 then
repeat with fileNum from 1 to numFiles
tell application "UltraFind 2.5.3"
copy (the fileName of fileRecord fileNum) to fName
copy (the fileCreator of fileRecord fileNum) to fCreator
copy (the fileType of fileRecord fileNum) to fType
copy (the version of fileRecord fileNum) to fVersion
if fVersion is equal to "" then set fVersion to "N/A"
copy (the accessPath of fileRecord fileNum) to fPath
end tell
display dialog "Found file " & (fileNum as text) & " of " & (numFiles as text) & return & return & ツ
"Filename : " & fName & return & ツ
"Creator : '" & fCreator & "'" & return & ツ
"Type : '" & fType & "'" & return & return & ツ
"Version : '" & fVersion & "'" & return & ツ
"Where :" & return & return & fPath
end repeat
end if